package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("草稿实体")
public class DraftContract implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作人ID")
    private Long userId;

    @ApiModelProperty(value = "操作人名称")
    private String userName;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "是否删除")
    private int isDelete;

    @ApiModelProperty(value = "创建时间")
    private long createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "删除时间")
    private long deleteTime;

    @ApiModelProperty(value = "合同编号")
    private String contractId;

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "乙方签约公司")
    private String partybFirm;

    @ApiModelProperty(value = "合同类型")
    private String contractType;

    @ApiModelProperty(value = "金额")
    private Long amount;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "最后办理时间")
    private String finalProcessingTime;

    @ApiModelProperty(value = "业务人员")
    private String fieldStaff;

    @ApiModelProperty(value = "业务人员id")
    private String fieldStaffId;

    @ApiModelProperty(value = "对应商机")
    private String correspondingBusiness;

    @ApiModelProperty(value = "合同状态")
    private String contractState;

}